package com.springboot.mall.service;


import com.springboot.mall.exception.MallException;
import com.springboot.mall.model.entity.User;

public interface UserService {

    User getUser();
    void register(String  userName,String password) throws MallException;
    User login(String  userName,String password) throws MallException;
    void updateInfo(User user) throws MallException;
    boolean checkAdminRole(User user);
}
